package com.aibabelx.springbootdemo.demos.web.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 此处使用了lombok插件，使用的编译热加载机制，若不用，需要写set /getF方法
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "user")
public class User {
    private Integer id;
    private String name;
    private int age;
    private String email;
}

